package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验室项目信息业务对象 n_laboratory_mechanics_test_item_matching
 *
 * @author zyb
 * @date 2023-09-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryMechanicsTestItemMatchingBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 试验项目名称
     */
    @NotBlank(message = "试验项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 试验项目类型
     */
    @NotBlank(message = "试验项目类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;


}
